package com.fm.demo.jet_pack

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.navigation.*
import com.fm.demo.R

class JetPackActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_jet_pack)
    }

    override fun onSupportNavigateUp(): Boolean {
        return findNavController(R.id.jp_nav_fragment).navigateUp()
    }
}
